package org.example.elasticsearch.deserialize;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author: sql
 * @date: 2024/6/7
 * @Description: 解决时间类型字段无法反序列化的问题
 * @version: 1.0
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@JsonDeserialize(using = ESJsonDateDeserializer.class)
public @interface EsDateDeserialize {

}
